package com.yum.Iterator.Collection;

import com.yum.Iterator.Iterable.YIterable;

public interface YCollection<E> extends YIterable<E> {

    boolean add(E e);

    boolean addAll(YCollection<? extends E> Yc);

    void clear();

    boolean contains(Object o);

    boolean contatinsAll(YCollection<?> Yc);

    boolean isEmpty();

    boolean remove(Object o);

    boolean removeAll(YCollection<?> Yc);

    int size();

    E[] toArray(E[] a);

    Object[] toArray();


}
